Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Remove deprecated TextInputClient scribble method code#36970

Merged
justinmc merged 5 commits into
flutter-team-archive:mainfrom
justinmc:scribble-mixin-deprecation-removal
Oct 28, 2022
Merged

Remove deprecated TextInputClient scribble method code#36970
justinmc merged 5 commits into
flutter-team-archive:mainfrom
justinmc:scribble-mixin-deprecation-removal

Conversation

@justinmc

@justinmc justinmc commented Oct 24, 2022

Copy link
Copy Markdown
Contributor

Cleans up some old methods that were deprecated in #36642 and the framework is currently switching off in flutter/flutter#104128.

Depends on flutter/flutter#104128.

@justinmc
justinmc requested a review from cyanglaz October 24, 2022 17:25
@justinmc justinmc self-assigned this Oct 24, 2022
XCTAssertEqual([textInputPlugin.activeView.selectionRects count], 1u);
}

- (void)testScribbleSetSelectionRectsTICFails {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this test useful, or should I get a text exemption?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this adds any value. This patch remove the deprecated stuff in a two-step transition. I think we should land this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 we should just get an exempt.

XCTAssertEqual([textInputPlugin.activeView.selectionRects count], 1u);
}

- (void)testScribbleSetSelectionRectsTICFails {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this adds any value. This patch remove the deprecated stuff in a two-step transition. I think we should land this.

@justinmc

Copy link
Copy Markdown
Contributor Author

Checked with @Hixie on Discord and this needs no exemption since it is all deletions (otherwise the bought would ask for an exemption).

@justinmc
justinmc merged commit f870117 into flutter-team-archive:main Oct 28, 2022
@justinmc
justinmc deleted the scribble-mixin-deprecation-removal branch October 28, 2022 20:05
justinmc added a commit that referenced this pull request Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

3 participants